<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:65:"E:\WWW\movie.cc\public/../application/index\view\index\login.html";i:1682299886;}*/ ?>
<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>登录 ‹ <?php echo $config['webname']; ?> — WordPress</title>
		<meta name="robots" content="max-image-preview:large, noindex, noarchive">
		<script src="/static/index/js/zxcvbn.min.js" type="text/javascript" async=""></script>
		<script type="text/javascript" src="/static/index/js/jquery.js" id="jquery-js"></script>
		<script type="text/javascript" src="/static/index/js/jquery-migrate.min.js" id="jquery-migrate-js"></script>
		
		<link rel="stylesheet" id="dashicons-css" href="/static/index/css/dashicons.min.css" type="text/css" media="all">
		<link rel="stylesheet" id="buttons-css" href="/static/index/css/buttons.min.css" type="text/css" media="all">
		<link rel="stylesheet" id="forms-css" href="/static/index/css/forms.min.css" type="text/css" media="all">
		<link rel="stylesheet" id="l10n-css" href="/static/index/css/l10n.min.css" type="text/css" media="all">
		<link rel="stylesheet" id="login-css" href="/static/index/css/login.min.css" type="text/css" media="all">
		<style id="login-inline-css" type="text/css">
			.login .message, .login #login_error{margin-bottom: 0;}
			.code_wrap label:last-child{display:flex;}
			.code_wrap input.button{margin-bottom:10px;}
			.login form .input, .login input[type=password], .login input[type=text]{font-size:20px; margin-bottom:10px;}
			p.login-types,p.bind-types{line-height:2; float:left; clear:left; margin-top:10px;}
			p.login-types a,p.bind-types a{text-decoration: none; display:block;}
			div.login-fields, div.bind-fields{margin-bottom:10px;}
		</style>
		<link rel="stylesheet" tyssspe="text/css" href="/static/index/css/icon.css">
		<meta name="referrer" content="strict-origin-when-cross-origin">
		<meta name="viewport" content="width=device-width">
	</head>
	<body class="login js login-action-login wp-core-ui  locale-zh-cn">
		<script type="text/javascript">
			document.body.className = document.body.className.replace('no-js','js');
		</script>
		<div id="login">
			<h1>
				<a href="/"><?php echo $config['webname']; ?></a>
			</h1>

			<form name="loginform" id="loginform" action="#" onsubmit="return false" method="post">
				<p>
					<label for="user_login">用户名或电子邮箱地址</label>
					<input type="text" name="log" id="user_login" required="required" class="input" size="20" autocapitalize="none" autocomplete="username">
				</p>

				<div class="user-pass-wrap">
					<label for="user_pass">密码</label>
					<div class="wp-pwd">
						<input type="password" name="pwd" id="user_pass" required="required" class="input password-input" value="" size="20" autocomplete="current-password">
					<!-- 	<button type="button" class="button button-secondary wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="显示密码">
							<span class="dashicons dashicons-visibility" aria-hidden="true"></span>
						</button> -->
					</div>
				</div>
				<p class="forgetmenot">
					<input name="rememberme" type="checkbox" id="rememberme" value="forever">
					<label for="rememberme">记住我</label>
				</p>
				<p class="submit">
					<input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="登录">
					<!-- <input type="hidden" name="redirect_to" value="https://www.ummu.net/wp-admin/"> -->
					<!-- <input type="hidden" name="testcookie" value="1"> -->
				</p>
			</form>
			<script src="/static/component/layui/layui.js"></script>
            <script type="text/javascript">
            	$("#loginform").submit(function(){
            		var username=$("#user_login").val();
            		var password=$("#user_pass").val();
                    $.ajax({
		               url: 'do_login.html',
		               data:{username:username,password:password},
		               type:'POST',
		               success: function(res){
		                console.log(res)
		                if(res.code==1){
		                 layer.msg(res.msg, {
		                      offset: '15px'
		                      ,icon: 1
		                      ,time: 1000
		                    },function(){
		                    	location.replace('/');
		                    });
		                  
		                }else{
		                  layer.msg(res.msg, {
		                      offset: '15px'
		                      ,icon: 2
		                      ,time: 1000
		                    });
		                }
		               }
		            });
                })
            </script>
			<p id="nav">
				<a href="reg.html">注册</a> | <a href="password.html">忘记密码？</a>
				<!-- <a href="reg.html">注册</a> -->
			</p>
			
			<p id="backtoblog"  style="display: none;">
				<a href="/">← 返回到<?php echo $config['webname']; ?></a>
			</p>
		</div>
		<div class="language-switcher" style="display: none;">
			<form id="language-switcher" action="" method="get">

				<label for="language-switcher-locales">
					<span class="dashicons dashicons-translation" aria-hidden="true"></span>
					<span class="screen-reader-text">语言</span>
				</label>

				<select name="wp_lang" id="language-switcher-locales">
					<option value="en_US" data-installed="1" lang="en">English (United States)</option>
					<option value="zh_CN" selected="selected" data-installed="1" lang="zh">简体中文</option>
				</select>



				<input type="submit" class="button" value="更改">

			</form>
		</div>
	
		<!-- <script type="text/javascript" src="/static/index/js/zxcvbn-async.min.js" id="zxcvbn-async-js"></script> -->
		<!-- <script type="text/javascript" src="/static/index/js/regenerator-runtime.min.js" id="regenerator-runtime-js"></script> -->
		<!-- <script type="text/javascript" src="/static/index/js/wp-polyfill.min.js" id="wp-polyfill-js"></script> -->
		<!-- <script type="text/javascript" src="/static/index/js/hooks.min.js" id="wp-hooks-js"></script> -->
		<!-- <script type="text/javascript" src="/static/index/js/i18n.min.js" id="wp-i18n-js"></script> -->
		
		<!-- <script type="text/javascript" src="/static/index/js/password-strength-meter.min.js" id="password-strength-meter-js"></script> -->
		<!-- <script type="text/javascript" src="/static/index/js/underscore.min.js" id="underscore-js"></script> -->
		
		<!-- <script type="text/javascript" src="/static/index/js/wp-util.min.js" id="wp-util-js"></script> -->
	
		
		<!-- <script type="text/javascript" src="/static/index/js/user-profile.min.js" id="user-profile-js"></script> -->
		<div class="clear"></div>


	</body>
</html>